/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Day10_Ex5_abstractColleciton;

import java.util.AbstractCollection;

/**
 *
 * @author Mark
 */
public class BasicCollectionTest
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        AbstractCollection<String> bc = new BasicCollection<String>();
        bc.add("Example");
        
        BasicCollection2<String> myBas = new BasicCollection2<String>();
        boolean z = myBas.add("Hello Mate");
        System.out.println(myBas.toString());
        
        System.out.println(bc.isEmpty());
        
        for (String string : bc)
        {
            System.out.print(" " + string);
        }
        System.out.println("");
    }
}
